package com.fhz.a1909.observer;

/**
 * 时间:2022/3/19
 *
 * @author msfeng
 * 简述: 具体的观察者
 */
public class ConcreteObserver implements Observer {

    private String observerName;

    public ConcreteObserver(String observerName) {
        this.observerName = observerName;
    }

    @Override
    public void update() {
        System.out.println(observerName+"我要更新一下我的状态了......");
    }
}


